package com.hx.dc.service.impl;

import com.hx.dc.entity.DcCatagory;
import com.hx.dc.entity.DcRole;
import com.hx.dc.service.DcCatagotyService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by death on 2019/2/13.
 */
@Service("dcCatagotyService")
public class DcCatagotyServiceImpl extends BaseServiceImpl<DcCatagory> implements DcCatagotyService {

    @Override
    public List<DcCatagory> selectListUseRight(DcRole dcRole) {
        return dcCatagoryMapper.selectListUseRight(dcRole);
    }

    @Override
    public List<DcCatagory> loginSelect(DcRole dcRole) {
        return dcCatagoryMapper.loginSelect(dcRole);
    }
}
